/**
 * Created by bdqn on 2016/5/3.
 */
//登录的方法
function login(){
    var loginName=$("#loginName").val();
    var password=$("#password").val();
    $.ajax({
        url:"/Login",
        method:"post",
        data:{loginName:loginName,password:password},
        success:function(jsonStr){
            /*var result=eval("("+jsonStr+")");*/
           /* if(jsonStr==1){
                window.location.href="/houtai/queryOrder";
            }else{
                showMessage("您登陆出错！！！")
            }*/
            alert("sdsd"+jsonStr);
            console.log('EWEWEWEWEWE')
        }
    })
}